total = 0
i = 1.0
while i:
    i = float(input("请输入商品的价格："))
    total += i
print("原来的总金额为：", total)
total = int(total)
print("抹零后你要付的金额为：", total)
